package tools

import "fmt"

// KeyCamel2Case map的key驼峰转下划线
func KeyCamel2Case(m *map[string]interface{}) map[string]interface{} {
	r := make(map[string]interface{})
	for k, v := range *m {
		r[Camel2Case(k)] = v
	}
	fmt.Println(r)
	return r
}
